package com.xingmang.admin.controller;

import com.xingmang.common.annotation.OperateLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @auther: hansom
 * @Version: 1.0
 * @create 2023/6/17 16:59
 */
@RestController
@RequestMapping("/admin//test")
public class TestController {

    @GetMapping("/test")
    @OperateLog(name = "测试",adviseType = "before")
    public String test(){
        return "test";
    }
}
